Learn R Programming

rstpm2 (version 1.2.2)

coef<-: Set Model Coefficients

Description

coef<- is a generic function which sets the model coefficients for an object returned by modelling functions.

Usage

coef(x) <- value

Arguments

x
an Robject.
value
values of the coefficients.

Value

  • The updated object.

Details

coef<- is a generic replacement function. The default method sets the "coefficients" components of a list.

See Also

coef.